package com.ygqh.baby.service;

import java.util.List;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.po.YgUserLog;

public interface YgUserLogService {

	List<YgUserLog> find();

	int findCount();

	YgUserLog findById(Long id);

	int deleteSoft(Long[] ids);

	int deleteSoft(Long id);

	int save(YgUserLog ygUserLog);

	int update(YgUserLog ygUserLog);

	int saveOrUpdate(YgUserLog ygUserLog);

	ResultSet<YgUserLog> search(QueryInfo queryInfo, String q);

	int addUserLog(Long userId, String operation, String description, String nickName, String remark);

}
